<%@page import="dao.MemberDao"%>
<%@page import="entities.Member"%>
<%@page import="java.util.Iterator"%>
<select name="memberSelect">
    <%
       MemberDao memberDao = new MemberDao();
        for (Iterator it = memberDao.getMemberList().iterator(); it.hasNext();) {
            Member member = (Member) it.next();
            out.write("<option value='" + member.getMemberid() + "'>"
                    + member.getUsername()
                    + "</option>");
        }
    %>
</select>